import './assets/main.css'

import {createApp} from 'vue'
import {createPinia} from 'pinia';
import components from './plugins/components';
import App from './App.vue'
import router from './router';
//图片懒加载插件
import LazyLoad from 'vue3-lazyload';
import lazyImg from '@/assets/images/icons.png'
import '@/mock'

const app = createApp(App)

app.use(createPinia())
app.use(router);
app.use(components);
app.use(LazyLoad, {
	loading: lazyImg,
	error: lazyImg,
})

app.mount('#app')



